Skip to content

Enforce non-nullability of return values for transformation handlers#21

Merged
boubou19 merged 1 commit intomasterfrom
primitive-transformer-interfaces
Mar 1, 2026
Merged

Enforce non-nullability of return values for transformation handlers#21
boubou19 merged 1 commit intomasterfrom
primitive-transformer-interfaces

Conversation

@C0bra5
Copy link
Copy Markdown

@C0bra5 C0bra5 commented Mar 1, 2026

I was tempted to add this to the main refactor PR, but chose not to for clarity. It's clearly more prone to errors down the line, so it's better fix it now than never.

The following mods will need dep updates to work properly, since the new interface isn't fully type-analogous (Pointer boolean -> primitive boolean can't be done at runtime).

Important

GT5u should be updated before the core mod since the core mod inherits postea via GT5u; WG technically does too, but it's also overriding the dep in its build file (could probably be removed).

I was tempted to add this in the main refactor pr but choose not to for the sake of easier clarity but clearly it's more prone to causing errors down the line so better fix it now than never.
@boubou19 boubou19 merged commit 2067bd1 into master Mar 1, 2026
1 check passed
@boubou19 boubou19 deleted the primitive-transformer-interfaces branch March 1, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants